package health.lm.com.shop.entity;

import com.google.gson.annotations.SerializedName;

import health.lm.com.data.App;

/**
 * Created by Android Studio .
 * Project：hlian health.lm.com.shop.entity
 * Date：2019/8/9 18:03
 * Introduce：私信、私信记录
 */
public class HLChatEntity {
    //1、自己还 2、别人的信息
    private String type;
    private String send_uid = "";
    private String get_uid = "";
    @Deprecated
    private String avatar;
    @SerializedName("ctime")
    private String time;
    @SerializedName("content")
    private String msg;
    private String my_avatar;
    private String his_avatar;
    private String head_img;

    public String getType() {
        App.getModel().getUid();
        return send_uid.equals(App.getModel().getUid()) ? "1" : "2";
    }

    public void setType(String pType) {
        type = pType;
    }

    public String getSend_uid() {
        return send_uid;
    }

    public void setSend_uid(String pSend_uid) {
        send_uid = pSend_uid;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String pAvatar) {
        avatar = pAvatar;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String pTime) {
        time = pTime;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String pMsg) {
        msg = pMsg;
    }

    public String getGet_uid() {
        return get_uid;
    }

    public void setGet_uid(String pGet_uid) {
        get_uid = pGet_uid;
    }

    public String getMy_avatar() {
        return my_avatar;
    }

    public void setMy_avatar(String pMy_avatar) {
        my_avatar = pMy_avatar;
    }

    public String getHis_avatar() {
        return his_avatar;
    }

    public void setHis_avatar(String pHis_avatar) {
        his_avatar = pHis_avatar;
    }

    public String getHead_img() {
        return head_img;
    }

    public void setHead_img(String pHead_img) {
        head_img = pHead_img;
    }
}
